<extend name="Public/base" />
<block name="content">
    <center>
        <fieldset id="addUserForm" style="">
            <legend>学生信息修改表</legend>
            <form action="<{:U('Student/doEditStudent')}>" method="post">
                <table border="1">
                    <tr>
                        <td colspan="2" rowspan="2">
                            <empty name="res.small_photo">
                                <a class="button tiny radius" href="<{:U('Student/photoUpload?id='.$res['student_id'])}>">点击上传头像</a>
                                <else />
                                <a href="<{:U('Student/photoUpload?id='.$res['student_id'])}>"> <img src="<{$res.small_photo}>"></a>
                            </empty>
                        </td>
                        <td>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名</td>
                        <td><input type="text" name="sname" style="height:25px" value="<{$res.sname}>"></td>
                    </tr>
                    <tr>
                        <td>年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;龄</td>
                        <td><input type="text" name="age" style="height:25px" value="<{$res.age}>"></td>
                    </tr>
                    <tr>
                        <td>昵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称</td>
                        <td><input type="text" name="nick" style="height:25px" value="<{$res.nick}>"></td>
                        <td>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码</td>
                        <td><input type="password" name="pwd" style="height:25px"></td>
                    </tr>
                    <tr>
                        <td>性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别</td>
                        <td>
                            <center>
                                <input type="radio" name="sex" value="1" <{$res['sex']==1?'checked':''}>>男
                                <input type="radio" name="sex" value="2"<{$res['sex']==2?'checked':''}>>女
                            </center>
                        </td>
                        <td>手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机</td>
                        <td><input type="text" name="mtel" style="height:25px" value="<{$res.mtel}>"></td>
                    </tr>
                    <tr>
                        <td>备用电话</td>
                        <td><input type="text" name="btel" style="height:25px" value="<{$res.btel}>"></td>
                        <td>固&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话</td>
                        <td><input type="text" name="tel" style="height:25px" value="<{$res.tel}>"></td>
                    </tr>
                    <tr>
                        <td>身&nbsp;&nbsp;份&nbsp;证</td>
                        <td><input type="text" name="id_card" style="height:25px" value="<{$res.id_card}>"></td>
                        <td>毕业时间</td>
                        <td><input type="text" name="leave_time" style="height:25px" value="<{$res.leave_time}>"></td>
                    </tr>
                    <tr>
                        <td>邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱</td>
                        <td><input type="email" name="email" style="height:25px" value="<{$res.email}>"></td>
                        <td>&nbsp;&nbsp;&nbsp;QQ&nbsp;&nbsp;&nbsp;</td>
                        <td><input type="text" name="QQ" style="height:25px" value="<{$res.QQ}>"></td>
                    </tr>
                    <tr>
                        <td>家庭住址</td>
                        <td><input type="text" name="home_addr" style="height:25px" value="<{$res.home_addr}>"></td>
                        <td>班&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级</td>
                        <td><input type="text" name="class" style="height:25px" value="<{$res.class}>"></td>
                    </tr>
                    <tr>
                        <td>教育程度</td>
                        <td><input type="text" name="education" style="height:25px" value="<{$res.education}>"></td>
                        <td>学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;校</td>
                        <td><input type="text" name="school" style="height:25px" value="<{$res.school}>"></td>
                    </tr>
                    <tr>
                        <td>专&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业</td>
                        <td><input type="text" name="major" style="height:25px" value="<{$res.major}>"></td>
                        <td>是否知道php</td>
                        <td>
                            <center>
                                <input type="radio" name="know_php" value="Y" <{$res['know_php']=='Y'?'checked':''}>>是
                                <input type="radio" name="know_php" value="N" <{$res['know_php']=='N'?'checked':''}>>否
                            </center>
                        </td>
                    </tr>
                    <tr>
                        <td>是否尝试过php</td>
                        <td>
                            <center>
                                <input type="radio" name="try_php" value="Y" <{$res['try_php']=='Y'?'checked':''}>>是
                                <input type="radio" name="try_php" value="N" <{$res['try_php']=='Y'?'checked':''}>>否
                            </center>
                        </td>
                        <td>了解PHP的途径</td>
                        <td>
                            <center>
                                <input type="checkbox" name="learn_way[]" value="a" <{$arrs['a']}>>学校课程
                                <input type="checkbox" name="learn_way[]" value="b" <{$arrs['b']}>>网站书籍
                                <input type="checkbox" name="learn_way[]" value="c" <{$arrs['c']}>>系统培训
                            </center>
                        </td>
                    </tr>
                    <!--<tr>-->
                    <!--<td></td>-->
                    <!--<td><input type="text" name="" style="height:25px"></td>-->
                    <!--<td></td>-->
                    <!--<td><input type="text" name="" style="height:25px"></td>-->
                    <!--</tr>-->
                </table>
                <input type="hidden" name="student_id" value="<{$res.student_id}>">
                <input type="hidden" name="rtime" value="<php>echo time();</php>">
                <input type="submit" value="保存" class="button tiny radius">
                <input type="reset"vlau="重置" class="button tiny radius warning">
            </form>
        </fieldset>
    </center>
</block>